/*
 * =====================================================================================
 *
 *       Filename:  main.c
 *
 *    Description:  main function
 *
 *        Version:  1.0
 *        Created:  09/24/2017 03:56:00 PM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  YOUR NAME lzm 
 *   Organization:  
 *
 * =====================================================================================
 */
#include<stdio.h>

int sum(int *a,int n);

int array[2]={1,2};

int main()
{
	int val=sum(array,2);
	printf("%d\n",val);
}

